package hb.software.score.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import edu.zut.hb.software.base.domain.BaseEntity;
import hb.software.score.category.ScoreCategory;

@Entity
@Table(name = "T_score")
public class Score extends BaseEntity<Long>{
	/**
	 *
	 */
	private static final long serialVersionUID = 3411244791358608313L;
	@ManyToOne
	@JoinColumn(name = "Category_ID")
	ScoreCategory scoreCategory;

	@Column
	String studentid;

	@Column
	String homescore;
	@Column
	String coursename;
	@Column
	String classscore;
	@Column
	String testscore;
	@Column
	String finalscore;
	@Column
	String studentname;
	@Column
	String courseid;


	public ScoreCategory getScoreCategory() {
		return scoreCategory;
	}

	public void setScoreCategory(ScoreCategory scoreCategory) {
		this.scoreCategory = scoreCategory;
	}

	public String getStudentid() {
		return studentid;
	}

	public void setStudentid(String studentid) {
		this.studentid = studentid;
	}

	public String getHomescore() {
		return homescore;
	}

	public void setHomescore(String homescore) {
		this.homescore = homescore;
	}

	public String getCoursename() {
		return coursename;
	}

	public void setCoursename(String coursename) {
		this.coursename = coursename;
	}

	public String getClassscore() {
		return classscore;
	}

	public void setClassscore(String classscore) {
		this.classscore = classscore;
	}

	public String getTestscore() {
		return testscore;
	}

	public void setTestscore(String testscore) {
		this.testscore = testscore;
	}

	public String getFinalscore() {
		return finalscore;
	}

	public void setFinalscore(String finalscore) {
		this.finalscore = finalscore;
	}

	public String getStudentname() {
		return studentname;
	}

	public void setStudentname(String studentname) {
		this.studentname = studentname;
	}

	public String getCourseid() {
		return courseid;
	}

	public void setCourseid(String courseid) {
		this.courseid = courseid;
	}


}
